Click here to Skip to main content
15,921,884 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two textbox on windows form
1.connection string name
2.connection string

I want to store the conection string name(constr1) and
connectionSring("Data Source=.\SQLEXPRESS; Initial Catalog = abc; Integrated Security = True;" providerName="System.Data.SqlClient")

in App.config

thx in advance
Posted
Updated 5-May-12 1:59am
v2
Comments
[no name] 5-May-12 7:56am    
Are we supposed to guess what your question is?
Ravi Sargam 5-May-12 8:02am    
now i changed my question I want store connection string app.config
can you give any solution ???

 
Share this answer
 
Comments
VJ Reddy 5-May-12 23:17pm    
Good references. 5!
Sandeep Mewara 6-May-12 0:55am    
Thanks.
Maciej Los 7-Apr-13 5:26am    
+5!
Sandeep Mewara 7-Apr-13 5:27am    
Thanks Mac.
 
Share this answer
 
Comments
VJ Reddy 5-May-12 23:18pm    
Good references. 5!
Mohammad A Rahman 5-May-12 23:44pm    
Thank you VJ :)
Maciej Los 7-Apr-13 5:26am    
+5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900